package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "video_comment")
public class VideoComment {

    private ObjectId id; //主键id
    private Long userId; //用户id
    private Long videoId; //评论的视频id
    String content; //评论内容
    private Long created; //评论时间
}
